home *** CD-ROM | disk | FTP | other *** search
Wrap
ffffggggllllOOOOrrrrtttthhhhoooo((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ffffggggllllOOOOrrrrtttthhhhoooo((((3333GGGG)))) NNNNAAAAMMMMEEEE ffffggggllllOOOOrrrrtttthhhhoooo - multiply the current matrix with an orthographic matrix FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN SUBROUTINE ffffggggllllOOOOrrrrtttthhhhoooo( REAL*4 _l_e_f_t, REAL*4 _r_i_g_h_t, REAL*4 _b_o_t_t_o_m, REAL*4 _t_o_p, REAL*4 _n_e_a_r, REAL*4 _f_a_r ) PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS _l_e_f_t, _r_i_g_h_t Specify the coordinates for the left and right vertical clipping planes. _b_o_t_t_o_m, _t_o_p Specify the coordinates for the bottom and top horizontal clipping planes. _n_e_a_r, _f_a_r Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN ffffggggllllOOOOrrrrtttthhhhoooo describes a transformation that produces a parallel projection. The current matrix (see ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee) is multiplied by this matrix and the result replaces the current matrix, as if ffffggggllllMMMMuuuullllttttMMMMaaaattttrrrriiiixxxx were called with the following matrix as its argument: ( ) 2__________ | 0 0 t | right-left x | | | 2__________ | 0 0 t | top-bottom y | | | -2________ | 0 0 t | far-near z | | | 0 0 0 1 | ( ) where right + left____________ t = - x right - left top + bottom____________ t = - y top - bottom far + near__________ t = - z far - near Typically, the matrix mode is GGGGLLLL____PPPPRRRROOOOJJJJEEEECCCCTTTTIIIIOOOONNNN, and (_l_e_f_t, _b_o_t_t_o_m, -_n_e_a_r) and (_r_i_g_h_t, _t_o_p, -_n_e_a_r) specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the window, respectively, assuming that the eye is located at (0, 0, 0). -_f_a_r PPPPaaaaggggeeee 1111 ffffggggllllOOOOrrrrtttthhhhoooo((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ffffggggllllOOOOrrrrtttthhhhoooo((((3333GGGG)))) specifies the location of the far clipping plane. Both _n_e_a_r and _f_a_r can be either positive or negative. Use ffffggggllllPPPPuuuusssshhhhMMMMaaaattttrrrriiiixxxx and ffffggggllllPPPPooooppppMMMMaaaattttrrrriiiixxxx to save and restore the current matrix stack. EEEERRRRRRRROOOORRRRSSSS GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ffffggggllllOOOOrrrrtttthhhhoooo is executed between the execution of ffffggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ffffggggllllEEEEnnnndddd. AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD GGGGEEEETTTTSSSS ffffggggllllGGGGeeeetttt with argument GGGGLLLL____MMMMAAAATTTTRRRRIIIIXXXX____MMMMOOOODDDDEEEE ffffggggllllGGGGeeeetttt with argument GGGGLLLL____CCCCOOOOLLLLOOOORRRR____MMMMAAAATTTTRRRRIIIIXXXX ffffggggllllGGGGeeeetttt with argument GGGGLLLL____MMMMOOOODDDDEEEELLLLVVVVIIIIEEEEWWWW____MMMMAAAATTTTRRRRIIIIXXXX ffffggggllllGGGGeeeetttt with argument GGGGLLLL____PPPPRRRROOOOJJJJEEEECCCCTTTTIIIIOOOONNNN____MMMMAAAATTTTRRRRIIIIXXXX ffffggggllllGGGGeeeetttt with argument GGGGLLLL____TTTTEEEEXXXXTTTTUUUURRRREEEE____MMMMAAAATTTTRRRRIIIIXXXX SSSSEEEEEEEE AAAALLLLSSSSOOOO ffffggggllllFFFFrrrruuuussssttttuuuummmm, ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee, ffffggggllllMMMMuuuullllttttMMMMaaaattttrrrriiiixxxx, ffffggggllllPPPPuuuusssshhhhMMMMaaaattttrrrriiiixxxx, ffffggggllllVVVViiiieeeewwwwppppoooorrrrtttt PPPPaaaaggggeeee 2222